﻿<%@ Page Title="" Language="C#" MasterPageFile="~/webform/Site1.Master" AutoEventWireup="true" CodeBehind="Personal-Center.aspx.cs" Inherits="Zhongchouwwwww.webform.Personal_Center" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <link href="../Content/Project/layout.css" rel="stylesheet" />
    <link href="../Content/Persoanl_center_add.css" rel="stylesheet" />
    <link rel="stylesheet" href="https://cdn.staticfile.org/font-awesome/4.7.0/css/font-awesome.css" />
    <link href="../Content/bootstrap.css" rel="stylesheet" />
    <link href="../Content/bbb.css" rel="stylesheet" />
    <link href="../Content/aaa.css" rel="stylesheet" />
    <link href="../Content/layout.css" rel="stylesheet" />
    <script src="../Scripts/jquery-3.4.1.min.js"></script>
    <script src="../Scripts/bootstrap.min.js"></script>
    <link href="../Content/project-add.css" rel="stylesheet" />
    <style type="text/css">
        .auto-style1 {
            height: 20px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="Content2" runat="server">
    <%-- 个人信息--%>
    <%--<form id="form1" runat="server">--%>
        <div class="al">
            <div class="do grid">
                <div class="grid-cell-1 po">
                    <asp:FileUpload ID="FileUpload1" runat="server" />
                    <asp:ImageButton ID="ImageUser" OnClick="ImageUser_Click" runat="server" alt="图片更换" title="图片更换" Height="173px" Width="227px" />
                </div>
                <div class="grid-cell-1 od">
                    <p>
                        <asp:Label runat="server" ID="userLabel"></asp:Label>
                        <span class="textname"></span><a href="Personal-settings.aspx">个人设置</a>
                        <a href="#">信息中心</a>
                    </p>
                    <p>动态：<asp:Label runat="server" ID="Labdt"></asp:Label></p>
                    <p>加入时间：<asp:Label runat="server" ID="Lajrsj"></asp:Label></p>
                    <p>所在地：<asp:Label runat="server" ID="Laszd"></asp:Label></p>
                    <p>
                        <asp:Button ID="Butem" Text="注销" OnClick="Unnamed_Click" runat="server" />
                    </p>
                </div>
            </div>
            <hr />
        </div>
        <%--展示项目功能--%>
        <div class="lpoa" style="margin: 10px 20px ;background-color:white;height:auto;">
            <div class="tab-head  grid">
                <asp:LinkButton Text="支持项目" ID="LinkButton1" OnClick="LinkButton1_Click" runat="server"/>
                <asp:LinkButton Text="发起项目" ID="faqxm" OnClick="faqxm_Click" runat="server" />
                <asp:LinkButton Text="喜欢项目" ID="LinkButton2" OnClick="LinkButton2_Click" runat="server" />
            </div>
            <div class="tab-content grid">
                <div id="div1" style="height:700px" runat="server">
                   <table style="width: 100%; margin: 10px auto;">
                        <tr>
                            <th style="width: 130px"><span>支持项目名称</span></th>
                            <th style="width: 130px">发布日期</th>
                            <th style="width: 130px">截止时间</th>
                            <th style="width: 130px">目标</th>
                            <th style="width: 130px">进度</th>
                            <th style="width: 130px">状态</th>
                            <th style="width: 130px">支持的金额</th>
                            <th style="width: 130px">操作</th>
                        </tr>
                    </table>
                    <table>
                        <asp:Repeater runat="server" ID="Repeater1" OnItemCommand="Redata_ItemCommand">
                            <ItemTemplate>
                                <div class="grid" style="width: 100%">
                                    <div class="grid-cell-1" style="width: 130px">
                                        <img src="<%# Eval("imageurl")%>" / style="width:50px;height:30px;">
                                        <asp:Label Text='<%# Eval("projectname")  %>' runat="server" />
                                    </div>
                                    <div class="grid-cell-1" style="width: 130px">
                                        <asp:Label Text='<%# Eval("CreaData","{0:yyyy:MM:dd}") %>' runat="server" /></div>
                                    <div class="grid-cell-1" style="width: 130px">
                                        <asp:Label Text='<%# Eval("EndData","{0:yyyy:MM:dd}") %>' runat="server" /></div>
                                    <div class="grid-cell-1" style="width: 130px">
                                        <asp:Label Text='<%# Eval("targetmoney") %>' runat="server" /></div>
                                    <div class="grid-cell-1" style="width: 130px">
                                        <asp:Label Text='<%# Eval("progress")+"%" %>' runat="server" /></div>
                                    <div class="grid-cell-1" style="width: 130px">
                                        <asp:Label Text='<%# Eval("state") %>' runat="server" /></div>
                                    <div class="grid-cell-1" style="width: 130px">
                                        <asp:Label Text='<%# Eval("MMMMMMMMM")+"元" %>' runat="server" />
                                    </div>
                                    <div class="grid-cell-1" style="width: 130px">
                                         <asp:LinkButton Text="预览" runat="server" CommandName="Lsngxx" CommandArgument='<%# Eval("state")+""+ Eval("projectid") %>'></asp:LinkButton>
                                      </div>
                                </div>
                                <hr />
                            </ItemTemplate>
                        </asp:Repeater>
                    </table>
                </div>
                <div id="div2" style="height:700px" runat="server">
                    <div>
                        <asp:Button ID="butsy" OnClick="butsy_Click" Text="所有" runat="server" />
                        <asp:Button ID="buzcz" OnClick="butsbz_Click" Text="众筹中" runat="server" />
                        <asp:Button ID="buycg" OnClick="butycg_Click" Text="已成功" runat="server" />
                        <asp:Button ID="buysb" OnClick="butysb_Click" Text="已失败" runat="server" />
                    </div>
                    <table style="width: 100%; margin: 10px auto;">
                        <tr>
                            <th style="width: 130px"><span>发起项目名称</span></th>
                            <th style="width: 130px">发布日期</th>
                            <th style="width: 130px">截止时间</th>
                            <th style="width: 130px">目标</th>
                            <th style="width: 130px">进度</th>
                            <th style="width: 130px">状态</th>
                            <th style="width: 130px">操作</th>
                        </tr>
                    </table>
                    <table>
                        <asp:Repeater runat="server" ID="Redata" OnItemCommand="Redata_ItemCommand">
                            <ItemTemplate>
                                <div class="grid" style="width: 100%">
                                    <div class="grid-cell-1" style="width: 130px">
                                       <img src="../<%# Eval("imageurl")%>" / style="width:50px;height:30px;">
                                        <asp:Label Text='<%# Eval("projectname")  %>' runat="server" />
                                    </div>
                                    <div class="grid-cell-1" style="width: 130px">
                                        <asp:Label Text='<%# Eval("CreaData","{0:yyyy:MM:dd}") %>' runat="server" /></div>
                                    <div class="grid-cell-1" style="width: 130px">
                                        <asp:Label Text='<%# Eval("EndData","{0:yyyy:MM:dd}") %>' runat="server" /></div>
                                    <div class="grid-cell-1" style="width: 130px">
                                        <asp:Label Text='<%# Eval("targetmoney") %>' runat="server" /></div>
                                    <div class="grid-cell-1" style="width: 130px">
                                        <asp:Label Text='<%# Eval("progress")+"%" %>' runat="server" /></div>
                                    <div class="grid-cell-1" style="width: 130px">
                                        <asp:Label Text='<%# Eval("state") %>' runat="server" /></div>
                                    <div class="grid-cell-1" style="width: 130px">
                                         <asp:LinkButton Text="预览" runat="server" CommandName="Lsngxx" CommandArgument='<%# Eval("state")+""+ Eval("projectid") %>'></asp:LinkButton>
                                        <asp:LinkButton Text="删除" runat="server" CommandName="Remove" CommandArgument='<%# Eval("state")+""+ Eval("projectid") %>'  OnClientClick="return confirm('确认删除吗')"></asp:LinkButton></div>
                                </div>
                                <hr />
                            </ItemTemplate>
                        </asp:Repeater>
                    </table>
                </div>
                <div id="div3" style="height:700px" runat="server">
                   <table style="width: 100%; margin: 10px auto;">
                        <tr>
                            <th style="width: 130px"><span>喜欢项目名称</span></th>
                            <th style="width: 130px">发布日期</th>
                            <th style="width: 130px">截止时间</th>
                            <th style="width: 130px">目标</th>
                            <th style="width: 130px">进度</th>
                            <th style="width: 130px">状态</th>
                            <th style="width: 130px">操作</th>
                        </tr>
                    </table>
                    <table>
                        <asp:Repeater runat="server" ID="Repeater2" OnItemCommand="Redata_ItemCommand">
                            <ItemTemplate>
                                <div class="grid" style="width: 100%">
                                    <div class="grid-cell-1" style="width: 130px">
                                         <img src="../<%# Eval("imageurl")%>" / style="width:50px;height:30px;">
                                        <asp:Label Text='<%# Eval("projectname")  %>' runat="server" />
                                    </div>
                                    <div class="grid-cell-1" style="width: 130px">
                                        <asp:Label Text='<%# Eval("CreaData","{0:yyyy:MM:dd}") %>' runat="server" /></div>
                                    <div class="grid-cell-1" style="width: 130px">
                                        <asp:Label Text='<%# Eval("EndData","{0:yyyy:MM:dd}") %>' runat="server" /></div>
                                    <div class="grid-cell-1" style="width: 130px">
                                        <asp:Label Text='<%# Eval("targetmoney") %>' runat="server" /></div>
                                    <div class="grid-cell-1" style="width: 130px">
                                        <asp:Label Text='<%# Eval("progress")+"%" %>' runat="server" /></div>
                                    <div class="grid-cell-1" style="width: 130px">
                                        <asp:Label Text='<%# Eval("state") %>' runat="server" /></div>
                                    <div class="grid-cell-1" style="width: 130px">
                                         <asp:LinkButton Text="预览" runat="server" CommandName="Lsngxx" CommandArgument='<%# Eval("state")+""+ Eval("projectid") %>'></asp:LinkButton>
                                      </div>
                                </div>
                                <hr />
                            </ItemTemplate>
                        </asp:Repeater>
                    </table>
                </div>
            </div>
        </div>
   <%-- </form>--%>
</asp:Content>
